;+
; load_coyote_colors.pro 
; 
; usage: 
;	to load all the coyote fsc colors with one command.
; result: 
;	load the colors into the color table's top values (255, 254, ...  etc)
;	returns a structure that contains all the coyote color names
;-

function load_coyote_colors
	if (!D.Name eq "X") then begin
		Device, pseudo_color = 8, decomposed = 0
	endif

	COYOTE_COLOR_NUM = 88
	if (!D.Table_Size lt COYOTE_COLOR_NUM) then begin
		print, "!D.Table_Size is ", !D.Table_Size, ", which is too small for all the coyote colors"
		stop
	endif

	c_White = fsc_color('White' , !D.Table_Size - 1L)
	c_Beige = fsc_color('Beige' , !D.Table_Size - 2L)
	c_Almond = fsc_color('Almond' , !D.Table_Size - 3L)
	c_Tan = fsc_color('Tan' , !D.Table_Size - 4L)
	c_Slate_Gray = fsc_color('Slate Gray' , !D.Table_Size - 5L)
	c_Powder_Blue = fsc_color('Powder Blue' , !D.Table_Size - 6L)
	c_Blue = fsc_color('Blue' , !D.Table_Size - 7L)
	c_Spring_Green = fsc_color('Spring Green' , !D.Table_Size - 8L)
	c_Green_Yellow = fsc_color('Green Yellow' , !D.Table_Size - 9L)
	c_Olive_Drab = fsc_color('Olive Drab' , !D.Table_Size - 10L)
	c_Dark_Khaki = fsc_color('Dark Khaki' , !D.Table_Size - 11L)
	c_Saddle_Brown = fsc_color('Saddle Brown' , !D.Table_Size - 12L)
	c_Peru = fsc_color('Peru' , !D.Table_Size - 13L)
	c_Salmon = fsc_color('Salmon' , !D.Table_Size - 14L)
	c_Firebrick = fsc_color('Firebrick' , !D.Table_Size - 15L)
	c_Tomato = fsc_color('Tomato' , !D.Table_Size - 16L)
	c_Thistle = fsc_color('Thistle' , !D.Table_Size - 17L)
	c_Dark_Orchid = fsc_color('Dark Orchid' , !D.Table_Size - 18L)
	c_Snow = fsc_color('Snow' , !D.Table_Size - 19L)
	c_Seashell = fsc_color('Seashell' , !D.Table_Size - 20L)
	c_Bisque = fsc_color('Bisque' , !D.Table_Size - 21L)
	c_Light_Gray = fsc_color('Light Gray' , !D.Table_Size - 22L)
	c_Dark_Gray = fsc_color('Dark Gray' , !D.Table_Size - 23L)
	c_Sky_Blue = fsc_color('Sky Blue' , !D.Table_Size - 24L)
	c_Navy = fsc_color('Navy' , !D.Table_Size - 25L)
	c_Cyan = fsc_color('Cyan' , !D.Table_Size - 26L)
	c_Chartreuse = fsc_color('Chartreuse' , !D.Table_Size - 27L)
	c_Olive = fsc_color('Olive' , !D.Table_Size - 28L)
	c_Yellow = fsc_color('Yellow' , !D.Table_Size - 29L)
	c_Rose = fsc_color('Rose' , !D.Table_Size - 30L)
	c_Indian_Red = fsc_color('Indian Red' , !D.Table_Size - 31L)
	c_Light_Salmon = fsc_color('Light Salmon' , !D.Table_Size - 32L)
	c_Brown = fsc_color('Brown' , !D.Table_Size - 33L)
	c_Orange_Red = fsc_color('Orange Red' , !D.Table_Size - 34L)
	c_Plum = fsc_color('Plum' , !D.Table_Size - 35L)
	c_Blue_Violet = fsc_color('Blue Violet' , !D.Table_Size - 36L)
	c_Ivory = fsc_color('Ivory' , !D.Table_Size - 37L)
	c_Linen = fsc_color('Linen' , !D.Table_Size - 38L)
	c_Moccasin = fsc_color('Moccasin' , !D.Table_Size - 39L)
	c_Lavender = fsc_color('Lavender' , !D.Table_Size - 40L)
	c_Charcoal = fsc_color('Charcoal' , !D.Table_Size - 41L)
	c_Steel_Blue = fsc_color('Steel Blue' , !D.Table_Size - 42L)
	c_Honeydew = fsc_color('Honeydew' , !D.Table_Size - 43L)
	c_Turquoise = fsc_color('Turquoise' , !D.Table_Size - 44L)
	c_Lawn_Green = fsc_color('Lawn Green' , !D.Table_Size - 45L)
	c_Dark_Green = fsc_color('Dark Green' , !D.Table_Size - 46L)
	c_Gold = fsc_color('Gold' , !D.Table_Size - 47L)
	c_Pink = fsc_color('Pink' , !D.Table_Size - 48L)
	c_Chocolate = fsc_color('Chocolate' , !D.Table_Size - 49L)
	c_Orange = fsc_color('Orange' , !D.Table_Size - 50L)
	c_Hot_Pink = fsc_color('Hot Pink' , !D.Table_Size - 51L)
	c_Red = fsc_color('Red' , !D.Table_Size - 52L)
	c_Violet = fsc_color('Violet' , !D.Table_Size - 53L)
	c_Purple = fsc_color('Purple' , !D.Table_Size - 54L)
	c_Light_Yellow = fsc_color('Light Yellow' , !D.Table_Size - 55L)
	c_Antique_White = fsc_color('Antique White' , !D.Table_Size - 56L)
	c_Wheat = fsc_color('Wheat' , !D.Table_Size - 57L)
	c_Medium_Gray = fsc_color('Medium Gray' , !D.Table_Size - 58L)
	c_Black = fsc_color('Black' , !D.Table_Size - 59L)
	c_Dodger_Blue = fsc_color('Dodger Blue' , !D.Table_Size - 60L)
	c_Pale_Green = fsc_color('Pale Green' , !D.Table_Size - 61L)
	c_Sea_Green = fsc_color('Sea Green' , !D.Table_Size - 62L)
	c_Green = fsc_color('Green' , !D.Table_Size - 63L)
	c_Pale_Goldenrod = fsc_color('Pale Goldenrod' , !D.Table_Size - 64L)
	c_Goldenrod = fsc_color('Goldenrod' , !D.Table_Size - 65L)
	c_Rosy_Brown = fsc_color('Rosy Brown' , !D.Table_Size - 66L)
	c_Sienna = fsc_color('Sienna' , !D.Table_Size - 67L)
	c_Coral = fsc_color('Coral' , !D.Table_Size - 68L)
	c_Deep_Pink = fsc_color('Deep Pink' , !D.Table_Size - 69L)
	c_Violet_Red = fsc_color('Violet Red' , !D.Table_Size - 70L)
	c_Orchid = fsc_color('Orchid' , !D.Table_Size - 71L)
	c_Cornsilk = fsc_color('Cornsilk' , !D.Table_Size - 72L)
	c_Papaya = fsc_color('Papaya' , !D.Table_Size - 73L)
	c_Burlywood = fsc_color('Burlywood' , !D.Table_Size - 74L)
	c_Gray = fsc_color('Gray' , !D.Table_Size - 75L)
	c_Light_Cyan = fsc_color('Light Cyan' , !D.Table_Size - 76L)
	c_Royal_Blue = fsc_color('Royal Blue' , !D.Table_Size - 77L)
	c_Aquamarine = fsc_color('Aquamarine' , !D.Table_Size - 78L)
	c_Forest_Green = fsc_color('Forest Green' , !D.Table_Size - 79L)
	c_Lime_Green = fsc_color('Lime Green' , !D.Table_Size - 80L)
	c_Khaki = fsc_color('Khaki' , !D.Table_Size - 81L)
	c_Dark_Goldenrod = fsc_color('Dark Goldenrod' , !D.Table_Size - 82L)
	c_Sandy_Brown = fsc_color('Sandy Brown' , !D.Table_Size - 83L)
	c_Dark_Salmon = fsc_color('Dark Salmon' , !D.Table_Size - 84L)
	c_Light_Coral = fsc_color('Light Coral' , !D.Table_Size - 85L)
	c_Magenta = fsc_color('Magenta' , !D.Table_Size - 86L)
	c_Maroon = fsc_color('Maroon' , !D.Table_Size - 87L)
	c_Medium_Orchid = fsc_color('Medium Orchid' , !D.Table_Size - 88L)

	result = { coyote_color, size : 88, $
		White : c_White , $
		Beige : c_Beige , $
		Almond : c_Almond , $
		Tan : c_Tan , $
		Slate_Gray : c_Slate_Gray , $
		Powder_Blue : c_Powder_Blue , $
		Blue : c_Blue , $
		Spring_Green : c_Spring_Green , $
		Green_Yellow : c_Green_Yellow , $
		Olive_Drab : c_Olive_Drab , $
		Dark_Khaki : c_Dark_Khaki , $
		Saddle_Brown : c_Saddle_Brown , $
		Peru : c_Peru , $
		Salmon : c_Salmon , $
		Firebrick : c_Firebrick , $
		Tomato : c_Tomato , $
		Thistle : c_Thistle , $
		Dark_Orchid : c_Dark_Orchid , $
		Snow : c_Snow , $
		Seashell : c_Seashell , $
		Bisque : c_Bisque , $
		Light_Gray : c_Light_Gray , $
		Dark_Gray : c_Dark_Gray , $
		Sky_Blue : c_Sky_Blue , $
		Navy : c_Navy , $
		Cyan : c_Cyan , $
		Chartreuse : c_Chartreuse , $
		Olive : c_Olive , $
		Yellow : c_Yellow , $
		Rose : c_Rose , $
		Indian_Red : c_Indian_Red , $
		Light_Salmon : c_Light_Salmon , $
		Brown : c_Brown , $
		Orange_Red : c_Orange_Red , $
		Plum : c_Plum , $
		Blue_Violet : c_Blue_Violet , $
		Ivory : c_Ivory , $
		Linen : c_Linen , $
		Moccasin : c_Moccasin , $
		Lavender : c_Lavender , $
		Charcoal : c_Charcoal , $
		Steel_Blue : c_Steel_Blue , $
		Honeydew : c_Honeydew , $
		Turquoise : c_Turquoise , $
		Lawn_Green : c_Lawn_Green , $
		Dark_Green : c_Dark_Green , $
		Gold : c_Gold , $
		Pink : c_Pink , $
		Chocolate : c_Chocolate , $
		Orange : c_Orange , $
		Hot_Pink : c_Hot_Pink , $
		Red : c_Red , $
		Violet : c_Violet , $
		Purple : c_Purple , $
		Light_Yellow : c_Light_Yellow , $
		Antique_White : c_Antique_White , $
		Wheat : c_Wheat , $
		Medium_Gray : c_Medium_Gray , $
		Black : c_Black , $
		Dodger_Blue : c_Dodger_Blue , $
		Pale_Green : c_Pale_Green , $
		Sea_Green : c_Sea_Green , $
		Green : c_Green , $
		Pale_Goldenrod : c_Pale_Goldenrod , $
		Goldenrod : c_Goldenrod , $
		Rosy_Brown : c_Rosy_Brown , $
		Sienna : c_Sienna , $
		Coral : c_Coral , $
		Deep_Pink : c_Deep_Pink , $
		Violet_Red : c_Violet_Red , $
		Orchid : c_Orchid , $
		Cornsilk : c_Cornsilk , $
		Papaya : c_Papaya , $
		Burlywood : c_Burlywood , $
		Gray : c_Gray , $
		Light_Cyan : c_Light_Cyan , $
		Royal_Blue : c_Royal_Blue , $
		Aquamarine : c_Aquamarine , $
		Forest_Green : c_Forest_Green , $
		Lime_Green : c_Lime_Green , $
		Khaki : c_Khaki , $
		Dark_Goldenrod : c_Dark_Goldenrod , $
		Sandy_Brown : c_Sandy_Brown , $
		Dark_Salmon : c_Dark_Salmon , $
		Light_Coral : c_Light_Coral , $
		Magenta : c_Magenta , $
		Maroon : c_Maroon , $
		Medium_Orchid : c_Medium_Orchid $
	}

	return, result
end
